package com.caseProcess.service;

import com.caseProcess.entity.Department;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DepartmentService {

    //根据deepth获取部门信息
    List<Department> getDepartments(Long deepth);

    int insert(Department department);
    int update(Department department);
    int delete(@Param("departmentId") String departmentId);
    Department isExist(@Param("departmentId") String departmentId,@Param("departmentName") String departmentName);
    List<Department> selectDepartments();
    List<Department> getDepByConditions(String departmentId, String departmentName, String description);
}
